
//  
//############     明唐API
//

const http = uni.$tn.http;


// BMS 数据获取
export function getDateFunc(macid) {
	return http.request({
		url: `/third/mtapi/getFunData/${macid}`,
		method: 'post',
		data: {}
	})
}

// BMS 数据获取
export function getDeviceInfo(macid) {
	return http.request({
		url: `/third/mtapi/getDeviceInfo/${macid}`,
		method: 'post',
		data: {}
	})
}


// BMS 数据获取
export function getPayList() {
	return http.request({
		url: `/third/mtapi/getPayList`,
		method: 'post',
		data: {}
	})
}


// BMS 数据获取
export function getImgData(ids,yearType,money) {
	return http.request({
		url: `/third/mtapi/getImgData`,
		method: 'post',
		data: {
			ids,
			yearType,
			money
		}
	})
}

